#include "Delay.h"
#include "LCD1602.h"
#include "REGX52.h"
#include "MatrixKey.h"


unsigned char keyNum;

void main(){
	LCD_Init();
	LCD_ShowString(1,1,"MatrixKey");
	while(1){
		keyNum = MatrixKey();
		if(keyNum){
			LCD_ShowString(1,1,"You Number is:");
			LCD_ShowNum(2,1,keyNum,2);
		}
	}
}
